home *** CD-ROM | disk | FTP | other *** search
ASP.NET Web Form | 2002-03-17 | 1.2 KB | 28 lines |
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="HtmlControlsForm.aspx.vb" Inherits="FirstWebForms.HtmlControlsForm" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title>HtmlControlsForm</title>
- <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
- <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- </HEAD>
- <body>
- <form id="Form1" method="post" runat="server" enctype="multipart/form-data">
- <H1>HtmlFile Control Demo</H1>
- <P>This page demonstrates how you can upload a file by using the HtmlFile control
- and access to the properties of the uploaded file from inside the page running
- on the server.</P>
- <P>Select a file:</P>
- <P>
- <INPUT id="File1" type="file" name="File1" runat="server"></P>
- <P>
- <INPUT id="Button1" type="button" value="Submit" name="Button1" runat="server"></P>
- <DIV id="DIV1" style="DISPLAY: inline; WIDTH: 406px; HEIGHT: 95px" runat="server" ms_positioning="FlowLayout">Label</DIV>
- <P> </P>
- <P> </P>
- </form>
- </body>
- </HTML>
-